* {
    margin: 0;
    padding: 0;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper {
    margin-left: auto;
    margin-right: auto;
}

.lunBo {
    height: 200px;
}

.content {
    padding: 20px 15px;

    &>div {
        margin-bottom: 20px;
        border-radius: 20px;
    }

    .rank {
        display: flex;
        height: 150px;

        &>div {
            border-radius: 20px;
        }

        .today {
            flex: 4;
            background-color: rgb(116, 175, 215);
            margin-right: 20px;
            padding-top: 10px;
            padding-left: 5px;
            background: url(../../assets/imgs/index-card-rank.png) no-repeat left bottom #5ca6c8;
            background-size: 110px;
            position: relative;

            p {
                font-weight: 700;
                // margin-bottom: 15px;
                color: rgb(7, 98, 155);
            }

            div {
                font-size: 60px;
                position: absolute;
                right: 5px;
                bottom: 15px;
                color: #fff;
            }
        }

        .keep {
            flex: 6;
            padding-top: 10px;
            padding-left: 5px;
            background: url(../../assets/imgs/index-card-sum.png) no-repeat left bottom rgb(172, 216, 245);
            background-size: 110px;
            position: relative;
            background-position: 10px 30px;

            p {
                font-weight: 700;
                margin-bottom: 15px;
                color: rgb(7, 98, 155);
            }
            div{
                width: 100px;
                font-size: 20px;
                font-weight: 700;
                color: rgb(7, 98, 155);
                border: 3px solid rgb(7, 98, 155);
                border-radius: 50px;
                text-align: center;
                position: absolute;
                right: 15px;
                bottom: 30px;

            }
        }
    }

    .sport {
        display: flex;
        height: 110px;

        &>div {
            border-radius: 20px;
        }

        .sportLeft {
            flex: 1;
            background-color: red;
            margin-right: 20px;
            background: url(../../assets/imgs/index-card-data.png) no-repeat center ;
            background-size: 100%;

        }

        .sportRight {
            flex: 1;
            background: url(../../assets/imgs/index-card-badge.png)no-repeat rgb(116, 175, 215);
            background-position: 5px 15px;
            background-size: 90px;
            position: relative;
            padding-top: 10px;
            padding-left: 5px;
            p{
                font-weight: 700;
                color: rgb(7, 98, 155);
            }

            span {
                font-size: 80px;
                font-weight: 700;
                color: rgb(7, 98, 155);
            }

            div {
                position: absolute;
                right: 15px;
                bottom: 0;
                color: #fff;
            }
        }
    }

    .course {
        height: 150px;
        background-color: aquamarine;
        background: url(../../assets/imgs/index-swiper-bg2.jpg) no-repeat center;
        background-size: 100%;
        background-position: 0 -20px;
    }

    .run {
        height: 150px;
        background-color: blue;
        background: url(../../assets/imgs/index-card-run.png) no-repeat center;
        background-size: 100%;
    }
}

// .footer {
//     position: fixed;
//     left: 0;
//     bottom: 0;
//     width: 100%;
//     height: 77px;
//     background-color: #fff;
//     display: flex;
//     justify-content: space-around;
//     box-shadow: 1px 1px 5px 4px #999;
//     padding-top: 10px;
//     a{
//         color: #000;
//     }
//     p{
//         font-size: 34px;
       
//     }
   
// }



